<template>
  <div class="search-container">
    <a-row type="flex">
      <a-col>
        <a-range-picker />
      </a-col>
      <a-col>
        <div class="tags-container">
          <a-select
            mode="tags"
            placeholder="Please select"
            :default-value="['a1', 'b2']"
            style="width: 200px"
          >
            <a-select-option v-for="i in 25" :key="(i + 9).toString(36) + i">
              {{ (i + 9).toString(36) + i }}
            </a-select-option>
          </a-select>
        </div>
      </a-col>
    </a-row>
    <div class="search-rules-container">
      <a-radio-group value="a">
        <a-radio-button value="a">
          老客户
        </a-radio-button>
        <a-radio-button value="b">
          新客户
        </a-radio-button>
        <a-radio-button value="c">
          全部
        </a-radio-button>
      </a-radio-group>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.tags-container {
  margin-left: $margin-sm;
}

.search-rules-container {
  margin:  $margin-sm 0;
}
</style>
